package com.aos.erp.schools.model.schoolclass;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;


@Getter
@Setter
@TableName("T_DRIVERS_SCHOOL_CLASS")
public class UpdateDriversSchoolClassRo implements Serializable {
	private static final long serialVersionUID = 1L;
	

    @TableId(value = "id", type = IdType.INPUT)
    private long id;


    @ApiModelProperty("名称")
    @TableField("name")
    private String name;


    @ApiModelProperty("类别(( 来自字典表)1：一车一人  2：一车多人  ）")
    @TableField("type")
    private Long type;


    @ApiModelProperty("每车人数")
    @TableField("people_number")
    private Integer peopleNumber;


    @ApiModelProperty("车型ID(来自字典表)")
    @TableField("car_id")
    private Long carId;


    @ApiModelProperty("学车时间(来自字典表)")
    @TableField("learn_id")
    private Long learnId;


    @ApiModelProperty("备注")
    @TableField("reason")
    private String reason;


    @Override
    public String toString() {
        return "DriversSchoolClass{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type=" + type +
                ", peopleNumber=" + peopleNumber +
                ", carId=" + carId +
                ", learnId=" + learnId +
                ", reason='" + reason + '\'' +
                '}';
    }
}
